Optimal. Leaf size=48 \[ d x \left (a+b \log \left (c x^n\right )\right )+\frac {1}{3} e x^3 \left (a+b \log \left (c x^n\right )\right )-b d n x-\frac {1}{9} b e n x^3 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 41, normalized size of antiderivative = 0.85, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {2313} \[ \frac {1}{3} \left (3 d x+e x^3\right ) \left (a+b \log \left (c x^n\right )\right )-b d n x-\frac {1}{9} b e n x^3 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2313
Rubi steps
\begin {align*} \int \left (d+e x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \, dx &=\frac {1}{3} \left (3 d x+e x^3\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \left (d+\frac {e x^2}{3}\right ) \, dx\\ &=-b d n x-\frac {1}{9} b e n x^3+\frac {1}{3} \left (3 d x+e x^3\right ) \left (a+b \log \left (c x^n\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 55, normalized size = 1.15 \[ a d x+\frac {1}{3} a e x^3+b d x \log \left (c x^n\right )+\frac {1}{3} b e x^3 \log \left (c x^n\right )-b d n x-\frac {1}{9} b e n x^3 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 61, normalized size = 1.27 \[ -\frac {1}{9} \, {\left (b e n - 3 \, a e\right )} x^{3} - {\left (b d n - a d\right )} x + \frac {1}{3} \, {\left (b e x^{3} + 3 \, b d x\right )} \log \relax (c) + \frac {1}{3} \, {\left (b e n x^{3} + 3 \, b d n x\right )} \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 62, normalized size = 1.29 \[ \frac {1}{3} \, b n x^{3} e \log \relax (x) - \frac {1}{9} \, b n x^{3} e + \frac {1}{3} \, b x^{3} e \log \relax (c) + \frac {1}{3} \, a x^{3} e + b d n x \log \relax (x) - b d n x + b d x \log \relax (c) + a d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.21, size = 247, normalized size = 5.15 \[ -\frac {i \pi b e \,x^{3} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )}{6}+\frac {i \pi b e \,x^{3} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{6}+\frac {i \pi b e \,x^{3} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{6}-\frac {i \pi b e \,x^{3} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{6}-\frac {i \pi b d x \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )}{2}+\frac {i \pi b d x \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{2}+\frac {i \pi b d x \,\mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{2}-\frac {i \pi b d x \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{2}-\frac {b e n \,x^{3}}{9}+\frac {b e \,x^{3} \ln \relax (c )}{3}+\frac {a e \,x^{3}}{3}-b d n x +b d x \ln \relax (c )+a d x +\frac {\left (e \,x^{2}+3 d \right ) b x \ln \left (x^{n}\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.48, size = 49, normalized size = 1.02 \[ -\frac {1}{9} \, b e n x^{3} + \frac {1}{3} \, b e x^{3} \log \left (c x^{n}\right ) + \frac {1}{3} \, a e x^{3} - b d n x + b d x \log \left (c x^{n}\right ) + a d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.31, size = 43, normalized size = 0.90 \[ \ln \left (c\,x^n\right )\,\left (\frac {b\,e\,x^3}{3}+b\,d\,x\right )+d\,x\,\left (a-b\,n\right )+\frac {e\,x^3\,\left (3\,a-b\,n\right )}{9} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.86, size = 73, normalized size = 1.52 \[ a d x + \frac {a e x^{3}}{3} + b d n x \log {\relax (x )} - b d n x + b d x \log {\relax (c )} + \frac {b e n x^{3} \log {\relax (x )}}{3} - \frac {b e n x^{3}}{9} + \frac {b e x^{3} \log {\relax (c )}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________